'''
Created on 2009-10-26

@author: dell
'''

from datetime import timedelta 
from google.appengine.ext import webapp

register = webapp.template.create_template_register()

def datetz(date,arg):  
    t=timedelta(seconds=28800) 
    return webapp.template.django.template.defaultfilters.date(date+t, arg)

register.filter(datetz)